<?php $this->header(); ?>
<div class="wrap">

    <!-- start -->
    <div class="nav">
        <div class="return"><a href="/?g=Admin&m=<?php echo MODULE; ?>&a=pictrue&slideshow_type_id=<?php echo $_GET['slideshow_type_id']; ?>">返回上一级</a></div>
        <ul class="cc">
            <li class="current"><a href="/?g=Admin&m=Slideshow&a=<?php
                echo ACTION;
                echo $_GET['id'] ? "&slideshow_type_id={$_GET['slideshow_type_id']}&id={$_GET['id']}" : "&slideshow_type_id={$_GET['slideshow_type_id']}";
                ?>" ><?php echo $title; ?></a></li>
        </ul>
    </div>
    <form class="J_ajaxForm" action="<?php echo $actionUrl; ?>" method="post" enctype="multipart/form-data">
        <div class="h_a">幻灯片位置</div>
        <div class="table_full">
            <table width="100%">
                <col class="th" />
                <col/>
                <tr>
                    <th>名称</th>
                    <td>
                        <input name="slideshow_name" type="text" class="input length_5" aria-label="" accesskey="" placeholder="" speech="" value="<?php echo $slideshow_name; ?>">
                    </td>
                </tr>
                <tr>
                    <th>图片</th>
                    <td>
                        <?php echo $func->formList($pic); ?>
                    </td>
                </tr>
                <tr>
                    <th>描述</th>
                    <td>
                        <textarea name="slideshow_description" class="length_5"><?php echo $slideshow_description; ?></textarea>
                    </td>
                </tr>
                <tr>
                    <th>外链地址</th>
                    <td>
                        <input name="slideshow_link" type="text" class="input length_5" aria-label="" accesskey="" placeholder="" speech="" value="<?php echo $slideshow_link; ?>">
                    </td>
                </tr>
            </table>
        </div>
        <div class="btn_wrap">
            <div class="btn_wrap_pd">
                <button type="submit" class="btn btn_submit J_ajax_submit_btn">提交</button>
            </div>
        </div>
    </form>

    <!-- end -->

</div>

<?php $this->footer(); ?>